package cn.zjk.springframework.aop;

/**
 * @description: 类匹配
 * @Author zjk
 * @className: ClassFilter
 * @date: 2023/4/3 11:26
 */
public interface ClassFilter {
    /**
     * Should the pointcut apply to the given interface or target class?
     * @param clazz the candidate target class
     * @return whether the advice should apply to the given target class
     */
    boolean matches(Class<?> clazz);
}
